/*
 * @ author PUSS
 * @ use 评价
 */
import Request from '../request';
export default {
  // 评价列表
  commentsList (params) {
    return Request.post({
      url: `/g/detail/appraise`,
      params
    });
  },
  // 评价数量
  commentsNum (params) {
    return Request.post({
      url: `/g/detail/appraise/num`,
      params
    });
  },
  // 待评价列表
  waitComments (params) {
    return Request.post({
      url: `/m/appraise/wait`,
      params
    });
  },
  // 发表评价
  submitComments (params) {
    return Request.post({
      url: `/m/appraise/submit`,
      params
    });
  },
  // 已评价列表
  hasComments (params) {
    return Request.post({
      url: `/m/appraise/has`,
      params
    });
  },
  // 追评
  appendComments (params) {
    return Request.post({
      url: `/m/appraise/append`,
      params
    });
  },
  // 评价详情
  getCommentsInfo (params) {
    return Request.post({
      url: `/m/appraise/detail`,
      params
    });
  }
};
